package com.kvn.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Created by wangzhiyuan on 2018/6/6
 */
@ConfigurationProperties(
        prefix = "shard.config"
)
@Data
public class ShardProperties {
    private Map<String, TableRule> tables = new LinkedHashMap<>();
}
